package com.net.tkc.pro.service;

import com.net.tkc.pro.entity.Icon;
import com.net.tkc.pro.impl.IconImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class IconService {
    @Resource
    IconImpl iconImpl;

    public int addIcon(Icon Icon) {
        return iconImpl.addIcon(Icon);
    }

    public int upIcon(String picture, String title, int examine, int id) {
        return iconImpl.upIcon(picture, title, examine, id);
    }

    public List<Icon> getList() {
        return iconImpl.getList();
    }
}
